﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using CustomsDocumentOA.Project.Authorization.Roles;
using CustomsDocumentOA.Project.Authorization.Users;
using CustomsDocumentOA.Project.MultiTenancy;
using CustomsDocumentOA.Project.CusDocument;

namespace CustomsDocumentOA.Project.EntityFrameworkCore
{
    public class ProjectDbContext : AbpZeroDbContext<Tenant, Role, User, ProjectDbContext>
    {
        /* Define a DbSet for each entity of the application */
        
        public ProjectDbContext(DbContextOptions<ProjectDbContext> options)
            : base(options)
        {
        }
        public DbSet<CDOA_Customer> CDOA_Customer { get; set; }
        public DbSet<CDOA_CustomerDetail> CDOA_CustomerDetail { get; set; }
        public DbSet<CDOA_Visit_Record> CDOA_Visit_Record { get; set; }
        public DbSet<CDOA_WorkOrder> CDOA_WorkOrder { get; set; }
        public DbSet<CDOA_ShareRecords> CDOA_ShareRecords { get; set; }
    }
}
